<template>
  <div>
    <!-- <v-input v-model:model="userName" @handleSubmit="handleSubmit"></v-input> -->
    <router-view></router-view>
  </div>
</template>

<script>
import { ref } from 'vue'
import VInput from './components/v-input.vue'

export default {
  components: { VInput },
  setup () {
    let userName = ref("jack");
    let title = ref("Vue3");
    const handleSubmit = (values) => {
      console.log('接收数据：', values);
      console.log('当前对象：', userName);
    };
    return {
      userName,
      title,
      handleSubmit
    }
  }
}
</script>

<style lang="scss">
@import "./assets/css/reset.css";
@import "./assets/css/index.scss";
</style>
